package com.zll.dms.service.impl;

import com.zll.dms.mapper.RoleMapper;
import com.zll.dms.model.Role;
import com.zll.dms.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Role)表服务实现类
 *
 */
@Service("roleService")
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;


    @Override
    public List<Role> getAllRole() {
        return roleMapper.queryAll();
    }

}